/**
 * 
 */
package com.putable.sandbox.threads;

/**
 * @author Lucas
 *
 */
public class MyNumRunnable extends MyRunnable implements Runnable {

	/* (non-Javadoc)
	 * @see java.lang.Runnable#run()
	 */
	@Override
	public void run() {
		for(int i = 0; i <= 5; i++){
			System.out.println(i);
			try {
				Thread.sleep((long) (Math.random()*1000));
			} catch (InterruptedException e) {
				e.printStackTrace();
				System.exit(1);
			}
		}
	}

}
